package com.logicalthinking.socialmall.service;

import com.github.chenlijia1111.utils.common.Result;
import java.util.List;
import com.logicalthinking.socialmall.entity.ClientAuthenticateSelf;

/**
 * 用户个人认证信息
 * @author chenLiJia
 * @since 2020-02-18 13:56:25
 **/
public interface ClientAuthenticateSelfServiceI {

    /**
     * 添加
     *
     * @param params      1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    Result add(ClientAuthenticateSelf params);

    /**
     * 添加
     *
     * @param params      1
     * @return com.github.chenlijia1111.utils.common.Result
     * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    Result update(ClientAuthenticateSelf params);

    /**
     * 条件查询
     *
     * @param condition      1
     * @return      * @author chenLiJia
     * @since 2020-02-18 13:56:25
     **/
    List<ClientAuthenticateSelf> listByCondition(ClientAuthenticateSelf condition);

    /**
     * 根据用户id查询认证信息
     * @param userId
     * @return
     */
    ClientAuthenticateSelf findByUserId(Integer userId);


}
